/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package alarmactioneventhandler;

/**
 *
 * @author chris
 */
public class AlarmClockTest implements AlarmActionEventHandler{

    
    
    @Override
    public void alarmActionPerformed(AlarmEventArgs args) {
        System.out.println(args.getNrings());
    }
    
    public static void main(String[] args) {
        AlarmClockTest act = new AlarmClockTest();
        AlarmClock ac = new AlarmClock(act, 10);
        ac.Start();
        
    }
}
